/*
Test_AccountTeam_from_AgencyTeam
Version 1.0
Description: Test class for AccountTeam_from_AgencyTeam class contains test cases for inset, update and delete.
Author: Pratibh Prakash
Created Date: 23 feb-2009
*/
@isTest
private class Test_AccountTeam_from_AgencyTeam{
    static testMethod void accountTeam_from_AgencyTeam_Test(){
        
        Account acc = new Account(Name = 'Test');
        insert(acc);
        Agency_Team__c agencyTeam_one = new Agency_Team__c(Agency__c = acc.Id , User__c = UserInfo.getUserId(), Role__c ='CL Agency Specialist');
        insert(agencyTeam_one);
        System.debug('PPPPPPPPPPPPPPPPPPPPPPPP:          '+agencyTeam_one.User__c);
        //Agency_Team__c agencyTeam_two = new Agency_Team__c(Agency__c = acc.Id , User__c = UserInfo.getUserId(), Role__c = 'CL Test');
        //insert(agencyTeam_two);
       
        //delete(agencyTeam_one);
        agencyTeam_one.Role__c = 'CLIM Associate Underwriter';
        update(agencyTeam_one);
        
    }
}